// 公用css 样式，全局引入
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑";
  font-size: 14px;
}

li {
  list-style: none;
}

a {
  color: #fff;
  text-decoration: none;
}

input {
  outline: none;
  border: 1px solid red;
}

body,
html {
  width: 100%;
  height: 100%;
  font-family: "PingFang SC", "Microsoft Yahei", Arial, Lucida, Verdana, Helvetica, sans-serif, "Hiragino Sans GB";
  color: #484848;
  /* 点击闪烁的问题 */
  -webkit-tap-highlight-color: transparent;
}

.warning {
  color: red;
}
.app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  // background: rgb(230, 230, 230);
  background: #fff;
  header {
    width: 100%;
    height: 44px;
    display: flex; // background: rgb(233, 231, 211);
    background: #fff;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    p {
      height: 100%;
      width: 15%;
      &:nth-child(2) {
        width: 70%;
      }
    }
  }
  article {
    width: 100%;
    display: flex;
    flex: 1;
    overflow: hidden;
    aside {
      height: 100%;
      width: 80px;
      background: peachpuff;
      box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
      p {
        color: #fff;
        width: 80%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border: 1px solid;
        background: darkorange;
        border-radius: 10px;
        margin: 10px auto;
      }
      li {
        text-align: center;
        cursor: pointer;
        a {
          display: inline-block;
          width: 80%;
          height: 30px;
          border: 1px solid #fff;
          border-radius: 5px;
          margin: 10px auto;
          line-height: 30px;
          text-align: center;
          vertical-align: top;
          span {
            width: 18px;
            height: 18px;
            line-height: 18px;
            font-size: 12px;
            float: right;
            background: red;
            border-radius: 10px;
          }
          i {
            font-size: 25px;
          }
        }
      }
    }
    section {
      height: 100%;
      display: flex;
      flex-direction: column;
      flex: 1;
      box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
      overflow: hidden;
      padding: 10px;
      .title {
        background: #fff;
        font-size: 20px;
        text-align: left;
        padding-left: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #ccc;
        letter-spacing: 5px;
        border-radius: 5px;
        padding: 10px;
        height:40px;
      }
      .contain{
        width:100%;
        height: 100%;

        .list{
          width: 100%;
          height: 100%;
          overflow: scroll;
          -webkit-overflow-scrolling: touch;
        }
       
      }
    }
  }
  footer {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  }
}
